﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin/Admin.Master" Inherits="System.Web.Mvc.ViewPage<ShopOnline.Models.Contact>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <link href="../../Content/Styles/validationEngine.jquery.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validationEngine-en.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validationEngine.js" type="text/javascript"></script>
         <script>
             jQuery(document).ready(function () {
                 // binds form submission and fields to the validation engine
                 jQuery("#formID").validationEngine();
             });         
        </script>
<div class="w_container m10-tb  fl">
        <div class="w_container fl">
            <div class="titleheader bold fl">
                Administration Session
            </div>
            <div class="titleheader fr">
                Back to <a class="orange" href="/Admin/Index">Cpanel</a></div>
            <div class="w_container titleheader fl align-l">
                <div class="fl">
                    Cpanel |
                </div>
                <div class="orange fl">
                    Thêm Thông tin Công ty
                </div>
            </div>
        </div>
       <div class="w_container m10-tb  fl">
            <div class="sub_container fl">
                <form method="post" enctype="multipart/form-data" id="formID" class="formular" >
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Tên Công ty 
                    </div>
                    <div class="input-item fl">

                        <input type="text" name="companyName" id="companyName" class="validate[required] text-input" value="<%=Model.companyName %>" />
                    </div>
                </div>
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                        Sơ lược
                    </div>
                    <div class="input-item fl">

                       <input type="text" name="abbrev"  id="abbrev" class="validate[required] text-input" value="<%=Model.abbrev %>" />
                    </div>
                </div>
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Địa chỉ
                    </div>
                    <div class="input-item fl">

                        <input type="text" name="address" id="address" class="validate[required] text-input" value="<%=Model.address %>" />
                    </div>
                </div>
               <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Điện thoại 
                    </div>
                    <div class="input-item fl">

                         <input type="text" name="phone"  id="phone" class="validate[required] text-input" value="<%=Model.phone %>" />
                    </div>
                </div>
               <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Fax 
                    </div>
                    <div class="input-item fl">

                         <input type="text" name="fax"  id="fax" class="validate[required] text-input" value="<%=Model.fax %>" />
                    </div>
                </div>
               <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Email
                    </div>
                    <div class="input-item fl">

                         <input type="text" name="email"  id="email" class="validate[required] text-input" value="<%=Model.email %>" />
                    </div>
                </div>
 
               <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Website
                    </div>
                    <div class="input-item fl">

                        <input type="text" name="website" id="website" class="validate[required] text-input" value="<%=Model.website %>" />
                    </div>
                </div>                
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                        &nbsp;
                    </div>
                    <div class="input-item fl">
                        <input type="submit" value="Lưu" class="ui-state-default ui-corner-all button fl" />
                        <a class="ui-state-default ui-corner-all button fl" href="/Contact/AdminListContact">
                            Hủy Bỏ </a>
                    </div>
                </div>
                </form>
            </div>
        </div>
    </div>
</asp:Content>

